package com.bh.order.vo;

import com.bh.common.annotation.Excel;
import com.bh.common.core.domain.DictLabelVo;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.apache.poi.ss.usermodel.HorizontalAlignment;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author Administrator
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class JcOrderSysApiVO extends DictLabelVo {


    private Long orderId;
    @Excel(name = "组织机构")
    private String organizationName;
    @Excel(name = "订单编号")
    private String orderCode;
    @Excel(name = "发货单号")
    private String relateBill1;
    @Excel(name = "客户单号")
    private String relateBill2;
    @Excel(name = "开单日期", width = 30, dateFormat = "yyyy-MM-dd")
    @JsonFormat(timezone="GMT+8", pattern = "yyyy-MM-dd")
    private Date orderTime;
    @Excel(name = "订单状态", dictType = "KY-OrderStatus")
    private Integer orderStatus;
    @Excel(name = "客户类型", dictType = "KY-CustomerType")
    private Integer customerType;
    @Excel(name = "客户名称", align = HorizontalAlignment.LEFT)
    private String customerName;
    @Excel(name = "是否有拆单", dictType = "KY-CommIsNot")
    private Integer isTake;
    @Excel(name = "出发运点")
    private String startZoneName;
    @Excel(name = "目的站")
    private String toOrganizationName;
    @Excel(name = "目的运点")
    private String endZoneName;

    @Excel(name = "是否回单", dictType = "KY-CommIsNot")
    private Integer isBack;

    @Excel(name = "回单份数")
    private Integer backNumber;

    @Excel(name = "入库区域")
    private String zoneStorerName;

    @Excel(name = "货品名称")
    private String productName;

    @Excel(name = "货品数量")
    private Integer orderNumber;

    @Excel(name = "货品体积")
    private Double orderWeight;

    @Excel(name = "货品体积")
    private Double orderVolume;


    @Excel(name = "收货联系人")
    private String toContactPerson;

    @Excel(name = "收货电话")
    private String toIphone;

    @Excel(name = "收货地址", align = HorizontalAlignment.LEFT)
    private String toAddress;

    @Excel(name = "备注")
    private String orderDescription;
}
